<template>
  <div class="newsouter">
    <div class="header">
      <span :class="(now = 1 ? 'active' : '')" @click="now = 1">系统消息</span>|
      <span :class="(now = 2 ? 'active' : '')" @click="now = 2">咨询短信</span>
    </div>
    <div class="context">
      <div class="text">
        <img src="../assets/personalnews.png" alt="" />
        <h4>暂无记录</h4>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  now: 1,
};
</script>

<style lang="scss" scoped>
.newsouter {
  margin-left: 30px;
  .header {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 700;
    span {
      padding: 10px 15px;
      color: black;
    }
  }
  .context {
    width: 900px;
    height: 300px;
    text-align: center;
    .text {
      margin-top: 150px;
    }
  }
}
</style>